package com.base.po.czb_sdk;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class GasExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GasExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGasidIsNull() {
            addCriterion("gasId is null");
            return (Criteria) this;
        }

        public Criteria andGasidIsNotNull() {
            addCriterion("gasId is not null");
            return (Criteria) this;
        }

        public Criteria andGasidEqualTo(String value) {
            addCriterion("gasId =", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotEqualTo(String value) {
            addCriterion("gasId <>", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidGreaterThan(String value) {
            addCriterion("gasId >", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidGreaterThanOrEqualTo(String value) {
            addCriterion("gasId >=", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidLessThan(String value) {
            addCriterion("gasId <", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidLessThanOrEqualTo(String value) {
            addCriterion("gasId <=", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidLike(String value) {
            addCriterion("gasId like", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotLike(String value) {
            addCriterion("gasId not like", value, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidIn(List<String> values) {
            addCriterion("gasId in", values, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotIn(List<String> values) {
            addCriterion("gasId not in", values, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidBetween(String value1, String value2) {
            addCriterion("gasId between", value1, value2, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasidNotBetween(String value1, String value2) {
            addCriterion("gasId not between", value1, value2, "gasid");
            return (Criteria) this;
        }

        public Criteria andGasnameIsNull() {
            addCriterion("gasName is null");
            return (Criteria) this;
        }

        public Criteria andGasnameIsNotNull() {
            addCriterion("gasName is not null");
            return (Criteria) this;
        }

        public Criteria andGasnameEqualTo(String value) {
            addCriterion("gasName =", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotEqualTo(String value) {
            addCriterion("gasName <>", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameGreaterThan(String value) {
            addCriterion("gasName >", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameGreaterThanOrEqualTo(String value) {
            addCriterion("gasName >=", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameLessThan(String value) {
            addCriterion("gasName <", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameLessThanOrEqualTo(String value) {
            addCriterion("gasName <=", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameLike(String value) {
            addCriterion("gasName like", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotLike(String value) {
            addCriterion("gasName not like", value, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameIn(List<String> values) {
            addCriterion("gasName in", values, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotIn(List<String> values) {
            addCriterion("gasName not in", values, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameBetween(String value1, String value2) {
            addCriterion("gasName between", value1, value2, "gasname");
            return (Criteria) this;
        }

        public Criteria andGasnameNotBetween(String value1, String value2) {
            addCriterion("gasName not between", value1, value2, "gasname");
            return (Criteria) this;
        }

        public Criteria andGastypeIsNull() {
            addCriterion("gasType is null");
            return (Criteria) this;
        }

        public Criteria andGastypeIsNotNull() {
            addCriterion("gasType is not null");
            return (Criteria) this;
        }

        public Criteria andGastypeEqualTo(String value) {
            addCriterion("gasType =", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeNotEqualTo(String value) {
            addCriterion("gasType <>", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeGreaterThan(String value) {
            addCriterion("gasType >", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeGreaterThanOrEqualTo(String value) {
            addCriterion("gasType >=", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeLessThan(String value) {
            addCriterion("gasType <", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeLessThanOrEqualTo(String value) {
            addCriterion("gasType <=", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeLike(String value) {
            addCriterion("gasType like", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeNotLike(String value) {
            addCriterion("gasType not like", value, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeIn(List<String> values) {
            addCriterion("gasType in", values, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeNotIn(List<String> values) {
            addCriterion("gasType not in", values, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeBetween(String value1, String value2) {
            addCriterion("gasType between", value1, value2, "gastype");
            return (Criteria) this;
        }

        public Criteria andGastypeNotBetween(String value1, String value2) {
            addCriterion("gasType not between", value1, value2, "gastype");
            return (Criteria) this;
        }

        public Criteria andGaslogobigIsNull() {
            addCriterion("gasLogoBig is null");
            return (Criteria) this;
        }

        public Criteria andGaslogobigIsNotNull() {
            addCriterion("gasLogoBig is not null");
            return (Criteria) this;
        }

        public Criteria andGaslogobigEqualTo(String value) {
            addCriterion("gasLogoBig =", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigNotEqualTo(String value) {
            addCriterion("gasLogoBig <>", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigGreaterThan(String value) {
            addCriterion("gasLogoBig >", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigGreaterThanOrEqualTo(String value) {
            addCriterion("gasLogoBig >=", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigLessThan(String value) {
            addCriterion("gasLogoBig <", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigLessThanOrEqualTo(String value) {
            addCriterion("gasLogoBig <=", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigLike(String value) {
            addCriterion("gasLogoBig like", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigNotLike(String value) {
            addCriterion("gasLogoBig not like", value, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigIn(List<String> values) {
            addCriterion("gasLogoBig in", values, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigNotIn(List<String> values) {
            addCriterion("gasLogoBig not in", values, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigBetween(String value1, String value2) {
            addCriterion("gasLogoBig between", value1, value2, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogobigNotBetween(String value1, String value2) {
            addCriterion("gasLogoBig not between", value1, value2, "gaslogobig");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallIsNull() {
            addCriterion("gasLogoSmall is null");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallIsNotNull() {
            addCriterion("gasLogoSmall is not null");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallEqualTo(String value) {
            addCriterion("gasLogoSmall =", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallNotEqualTo(String value) {
            addCriterion("gasLogoSmall <>", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallGreaterThan(String value) {
            addCriterion("gasLogoSmall >", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallGreaterThanOrEqualTo(String value) {
            addCriterion("gasLogoSmall >=", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallLessThan(String value) {
            addCriterion("gasLogoSmall <", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallLessThanOrEqualTo(String value) {
            addCriterion("gasLogoSmall <=", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallLike(String value) {
            addCriterion("gasLogoSmall like", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallNotLike(String value) {
            addCriterion("gasLogoSmall not like", value, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallIn(List<String> values) {
            addCriterion("gasLogoSmall in", values, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallNotIn(List<String> values) {
            addCriterion("gasLogoSmall not in", values, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallBetween(String value1, String value2) {
            addCriterion("gasLogoSmall between", value1, value2, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGaslogosmallNotBetween(String value1, String value2) {
            addCriterion("gasLogoSmall not between", value1, value2, "gaslogosmall");
            return (Criteria) this;
        }

        public Criteria andGasaddressIsNull() {
            addCriterion("gasAddress is null");
            return (Criteria) this;
        }

        public Criteria andGasaddressIsNotNull() {
            addCriterion("gasAddress is not null");
            return (Criteria) this;
        }

        public Criteria andGasaddressEqualTo(String value) {
            addCriterion("gasAddress =", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressNotEqualTo(String value) {
            addCriterion("gasAddress <>", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressGreaterThan(String value) {
            addCriterion("gasAddress >", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressGreaterThanOrEqualTo(String value) {
            addCriterion("gasAddress >=", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressLessThan(String value) {
            addCriterion("gasAddress <", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressLessThanOrEqualTo(String value) {
            addCriterion("gasAddress <=", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressLike(String value) {
            addCriterion("gasAddress like", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressNotLike(String value) {
            addCriterion("gasAddress not like", value, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressIn(List<String> values) {
            addCriterion("gasAddress in", values, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressNotIn(List<String> values) {
            addCriterion("gasAddress not in", values, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressBetween(String value1, String value2) {
            addCriterion("gasAddress between", value1, value2, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddressNotBetween(String value1, String value2) {
            addCriterion("gasAddress not between", value1, value2, "gasaddress");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeIsNull() {
            addCriterion("gasAddressLongitude is null");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeIsNotNull() {
            addCriterion("gasAddressLongitude is not null");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeEqualTo(BigDecimal value) {
            addCriterion("gasAddressLongitude =", value, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeNotEqualTo(BigDecimal value) {
            addCriterion("gasAddressLongitude <>", value, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeGreaterThan(BigDecimal value) {
            addCriterion("gasAddressLongitude >", value, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gasAddressLongitude >=", value, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeLessThan(BigDecimal value) {
            addCriterion("gasAddressLongitude <", value, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gasAddressLongitude <=", value, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeIn(List<BigDecimal> values) {
            addCriterion("gasAddressLongitude in", values, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeNotIn(List<BigDecimal> values) {
            addCriterion("gasAddressLongitude not in", values, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gasAddressLongitude between", value1, value2, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gasAddressLongitude not between", value1, value2, "gasaddresslongitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeIsNull() {
            addCriterion("gasAddressLatitude is null");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeIsNotNull() {
            addCriterion("gasAddressLatitude is not null");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeEqualTo(BigDecimal value) {
            addCriterion("gasAddressLatitude =", value, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeNotEqualTo(BigDecimal value) {
            addCriterion("gasAddressLatitude <>", value, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeGreaterThan(BigDecimal value) {
            addCriterion("gasAddressLatitude >", value, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gasAddressLatitude >=", value, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeLessThan(BigDecimal value) {
            addCriterion("gasAddressLatitude <", value, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gasAddressLatitude <=", value, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeIn(List<BigDecimal> values) {
            addCriterion("gasAddressLatitude in", values, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeNotIn(List<BigDecimal> values) {
            addCriterion("gasAddressLatitude not in", values, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gasAddressLatitude between", value1, value2, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andGasaddresslatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gasAddressLatitude not between", value1, value2, "gasaddresslatitude");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNull() {
            addCriterion("provinceCode is null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIsNotNull() {
            addCriterion("provinceCode is not null");
            return (Criteria) this;
        }

        public Criteria andProvincecodeEqualTo(String value) {
            addCriterion("provinceCode =", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotEqualTo(String value) {
            addCriterion("provinceCode <>", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThan(String value) {
            addCriterion("provinceCode >", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeGreaterThanOrEqualTo(String value) {
            addCriterion("provinceCode >=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThan(String value) {
            addCriterion("provinceCode <", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLessThanOrEqualTo(String value) {
            addCriterion("provinceCode <=", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeLike(String value) {
            addCriterion("provinceCode like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotLike(String value) {
            addCriterion("provinceCode not like", value, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeIn(List<String> values) {
            addCriterion("provinceCode in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotIn(List<String> values) {
            addCriterion("provinceCode not in", values, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeBetween(String value1, String value2) {
            addCriterion("provinceCode between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andProvincecodeNotBetween(String value1, String value2) {
            addCriterion("provinceCode not between", value1, value2, "provincecode");
            return (Criteria) this;
        }

        public Criteria andCitycodeIsNull() {
            addCriterion("cityCode is null");
            return (Criteria) this;
        }

        public Criteria andCitycodeIsNotNull() {
            addCriterion("cityCode is not null");
            return (Criteria) this;
        }

        public Criteria andCitycodeEqualTo(String value) {
            addCriterion("cityCode =", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotEqualTo(String value) {
            addCriterion("cityCode <>", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeGreaterThan(String value) {
            addCriterion("cityCode >", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeGreaterThanOrEqualTo(String value) {
            addCriterion("cityCode >=", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeLessThan(String value) {
            addCriterion("cityCode <", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeLessThanOrEqualTo(String value) {
            addCriterion("cityCode <=", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeLike(String value) {
            addCriterion("cityCode like", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotLike(String value) {
            addCriterion("cityCode not like", value, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeIn(List<String> values) {
            addCriterion("cityCode in", values, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotIn(List<String> values) {
            addCriterion("cityCode not in", values, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeBetween(String value1, String value2) {
            addCriterion("cityCode between", value1, value2, "citycode");
            return (Criteria) this;
        }

        public Criteria andCitycodeNotBetween(String value1, String value2) {
            addCriterion("cityCode not between", value1, value2, "citycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeIsNull() {
            addCriterion("countyCode is null");
            return (Criteria) this;
        }

        public Criteria andCountycodeIsNotNull() {
            addCriterion("countyCode is not null");
            return (Criteria) this;
        }

        public Criteria andCountycodeEqualTo(String value) {
            addCriterion("countyCode =", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeNotEqualTo(String value) {
            addCriterion("countyCode <>", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeGreaterThan(String value) {
            addCriterion("countyCode >", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeGreaterThanOrEqualTo(String value) {
            addCriterion("countyCode >=", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeLessThan(String value) {
            addCriterion("countyCode <", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeLessThanOrEqualTo(String value) {
            addCriterion("countyCode <=", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeLike(String value) {
            addCriterion("countyCode like", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeNotLike(String value) {
            addCriterion("countyCode not like", value, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeIn(List<String> values) {
            addCriterion("countyCode in", values, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeNotIn(List<String> values) {
            addCriterion("countyCode not in", values, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeBetween(String value1, String value2) {
            addCriterion("countyCode between", value1, value2, "countycode");
            return (Criteria) this;
        }

        public Criteria andCountycodeNotBetween(String value1, String value2) {
            addCriterion("countyCode not between", value1, value2, "countycode");
            return (Criteria) this;
        }

        public Criteria andProvincenameIsNull() {
            addCriterion("provinceName is null");
            return (Criteria) this;
        }

        public Criteria andProvincenameIsNotNull() {
            addCriterion("provinceName is not null");
            return (Criteria) this;
        }

        public Criteria andProvincenameEqualTo(String value) {
            addCriterion("provinceName =", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameNotEqualTo(String value) {
            addCriterion("provinceName <>", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameGreaterThan(String value) {
            addCriterion("provinceName >", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameGreaterThanOrEqualTo(String value) {
            addCriterion("provinceName >=", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameLessThan(String value) {
            addCriterion("provinceName <", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameLessThanOrEqualTo(String value) {
            addCriterion("provinceName <=", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameLike(String value) {
            addCriterion("provinceName like", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameNotLike(String value) {
            addCriterion("provinceName not like", value, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameIn(List<String> values) {
            addCriterion("provinceName in", values, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameNotIn(List<String> values) {
            addCriterion("provinceName not in", values, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameBetween(String value1, String value2) {
            addCriterion("provinceName between", value1, value2, "provincename");
            return (Criteria) this;
        }

        public Criteria andProvincenameNotBetween(String value1, String value2) {
            addCriterion("provinceName not between", value1, value2, "provincename");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNull() {
            addCriterion("cityName is null");
            return (Criteria) this;
        }

        public Criteria andCitynameIsNotNull() {
            addCriterion("cityName is not null");
            return (Criteria) this;
        }

        public Criteria andCitynameEqualTo(String value) {
            addCriterion("cityName =", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotEqualTo(String value) {
            addCriterion("cityName <>", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThan(String value) {
            addCriterion("cityName >", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameGreaterThanOrEqualTo(String value) {
            addCriterion("cityName >=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThan(String value) {
            addCriterion("cityName <", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLessThanOrEqualTo(String value) {
            addCriterion("cityName <=", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameLike(String value) {
            addCriterion("cityName like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotLike(String value) {
            addCriterion("cityName not like", value, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameIn(List<String> values) {
            addCriterion("cityName in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotIn(List<String> values) {
            addCriterion("cityName not in", values, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameBetween(String value1, String value2) {
            addCriterion("cityName between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andCitynameNotBetween(String value1, String value2) {
            addCriterion("cityName not between", value1, value2, "cityname");
            return (Criteria) this;
        }

        public Criteria andCountynameIsNull() {
            addCriterion("countyName is null");
            return (Criteria) this;
        }

        public Criteria andCountynameIsNotNull() {
            addCriterion("countyName is not null");
            return (Criteria) this;
        }

        public Criteria andCountynameEqualTo(String value) {
            addCriterion("countyName =", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotEqualTo(String value) {
            addCriterion("countyName <>", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameGreaterThan(String value) {
            addCriterion("countyName >", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameGreaterThanOrEqualTo(String value) {
            addCriterion("countyName >=", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameLessThan(String value) {
            addCriterion("countyName <", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameLessThanOrEqualTo(String value) {
            addCriterion("countyName <=", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameLike(String value) {
            addCriterion("countyName like", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotLike(String value) {
            addCriterion("countyName not like", value, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameIn(List<String> values) {
            addCriterion("countyName in", values, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotIn(List<String> values) {
            addCriterion("countyName not in", values, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameBetween(String value1, String value2) {
            addCriterion("countyName between", value1, value2, "countyname");
            return (Criteria) this;
        }

        public Criteria andCountynameNotBetween(String value1, String value2) {
            addCriterion("countyName not between", value1, value2, "countyname");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceIsNull() {
            addCriterion("isInvoice is null");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceIsNotNull() {
            addCriterion("isInvoice is not null");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceEqualTo(Integer value) {
            addCriterion("isInvoice =", value, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceNotEqualTo(Integer value) {
            addCriterion("isInvoice <>", value, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceGreaterThan(Integer value) {
            addCriterion("isInvoice >", value, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceGreaterThanOrEqualTo(Integer value) {
            addCriterion("isInvoice >=", value, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceLessThan(Integer value) {
            addCriterion("isInvoice <", value, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceLessThanOrEqualTo(Integer value) {
            addCriterion("isInvoice <=", value, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceIn(List<Integer> values) {
            addCriterion("isInvoice in", values, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceNotIn(List<Integer> values) {
            addCriterion("isInvoice not in", values, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceBetween(Integer value1, Integer value2) {
            addCriterion("isInvoice between", value1, value2, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andIsinvoiceNotBetween(Integer value1, Integer value2) {
            addCriterion("isInvoice not between", value1, value2, "isinvoice");
            return (Criteria) this;
        }

        public Criteria andCompanyidIsNull() {
            addCriterion("companyId is null");
            return (Criteria) this;
        }

        public Criteria andCompanyidIsNotNull() {
            addCriterion("companyId is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyidEqualTo(String value) {
            addCriterion("companyId =", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidNotEqualTo(String value) {
            addCriterion("companyId <>", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidGreaterThan(String value) {
            addCriterion("companyId >", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidGreaterThanOrEqualTo(String value) {
            addCriterion("companyId >=", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidLessThan(String value) {
            addCriterion("companyId <", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidLessThanOrEqualTo(String value) {
            addCriterion("companyId <=", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidLike(String value) {
            addCriterion("companyId like", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidNotLike(String value) {
            addCriterion("companyId not like", value, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidIn(List<String> values) {
            addCriterion("companyId in", values, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidNotIn(List<String> values) {
            addCriterion("companyId not in", values, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidBetween(String value1, String value2) {
            addCriterion("companyId between", value1, value2, "companyid");
            return (Criteria) this;
        }

        public Criteria andCompanyidNotBetween(String value1, String value2) {
            addCriterion("companyId not between", value1, value2, "companyid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}